﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>User Name - Edit Program</title>
    <link rel="stylesheet" href="styles/basic-style.css" type="text/css" />
    <link rel="stylesheet" href="styles/edit-program.css" type="text/css" />
</head>
<body>
    <div id="wrapper">
        <header>
            <h1>Hercules Fitness Assistant</h1>
            <span id="userName">User Name</span>
            <span id="currentDate">
                <script src="scripts/current-date.js"></script>
            </span>
        </header>
        <h2>Edit Program</h2>
        <form action="/dispatch" method="get">
            <div>
                <input type="checkbox" name="editProgram" value="noExercise" />Can't exercise at 
            <input type="text" name="time" />
                o'clock<br />
            </div>
            <div>
                <input type="checkbox" name="editProgram" value="noEat" />Can't eat at
            <input type="text" name="time" />
                o'clock<br />
            </div>
            <div>
                <input type="checkbox" name="editProgram" value="eatMore" />Ate more than planned
                           <select>
                               <option>Food1</option>
                               <option>Food2</option>
                               <option>Food3</option>
                               <option>Food4</option>
                               <option>Food5</option>
                           </select>
                <input type="number" name="quantity-food" min="10" max="2000" step="10" value="100" />
                <span>g</span>
            </div>
            <div>
                <input type="checkbox" name="editProgram" value="exercisedMore" />Exercised more than planned<br />
                <div>
                    <select>
                        <option>Basketball</option>
                        <option>Bicycling</option>
                        <option>Dancing</option>
                        <option>Football</option>
                        <option>Gymnastics</option>
                        <option>Running</option>
                    </select>
                    <input type="number" name="exercise-time" min="10" max="180" step="5" value="5" />
                    <span>min</span>
                </div>
            </div>
            <div id="buttons">
                <input type="hidden" name="profile" value="#{PROFILE}" />
                <input type="submit" name="submit_edit_accept" value="Change Plan" class="buttons" />
                <input type="submit" name="submit_edit_reset" value="Reset" class="buttons" />
                <input type="submit" name="submit_edit_cancel" value="Cancel" class="buttons" />
            </div>
        </form>
    </div>
    <div id="copyright">
        &#169 2013 Hercules. All Rights Reserved.
    </div>
</body>
</html>
